//
//  WJ_Through_VC.m
//  WJBSApp
//
//  Created by dllo on 16/7/18.
//  Copyright © 2016年 王景伟. All rights reserved.
//

#import "WJ_Through_VC.h"
#import "WJMianController.h"


@implementation WJ_Through_VC

- (void)dealloc {
    NSLog(@"%s",__func__);
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.isThrough = YES;
    
    //全部
    WJMianController *all = [[WJMianController alloc]init];
    all.view.frame = CGRectMake(0, 0, WIDTH, BSViewH - 40);
    all.title = @"全部";
    all.url = WJThroughAllURL;
    [self addChildViewController:all];
    
    //视频
    WJMianController *video = [[WJMianController alloc]init];
    video.title = @"视频";
    video.url = WJThroughVideoURL;
    [self addChildViewController:video];
    
    //图片
    WJMianController *picture = [[WJMianController alloc]init];
    picture.title = @"图片";
    picture.url = WJThroughPictureURL;
    [self addChildViewController:picture];
    
    //段子
    WJMianController *text = [[WJMianController alloc]init];
    text.title = @"段子";
    text.url = WJThroughTextURL;
    [self addChildViewController:text];
    
    //声音
    WJMianController *sound = [[WJMianController alloc]init];
    sound.title = @"声音";
    sound.url = WJThroughSoundURL;
    [self addChildViewController:sound];
    
    //排行
    WJMianController *rankingVc = [[WJMianController alloc]init];
    rankingVc.title = @"排行";
    rankingVc.url = WJEssenceListsURL;
    [self addChildViewController:rankingVc];
    
    //社会
    WJMianController *societyVc = [[WJMianController alloc]init];
    societyVc.title = @"社会";
    societyVc.url = WJEssenceSocietyURL;
    [self addChildViewController:societyVc];
    
    //美女
    WJMianController *girlVc = [[WJMianController alloc]init];
    girlVc.title = @"美女";
    girlVc.url = WJEssenceGirlURL;
    [self addChildViewController:girlVc];
    
    //冷知识
    WJMianController *cold = [[WJMianController alloc]init];
    cold.title = @"冷知识";
    cold.url = WJEssenceColdURL;
    [self addChildViewController:cold];
    
    //游戏
    WJMianController *gameVc = [[WJMianController alloc]init];
    gameVc.title = @"游戏";
    gameVc.url = WJEssenceGameURL;
    [self addChildViewController:gameVc];
}


@end
